/**
 * 
 */
package com.tianxiao.test.service;

import java.util.List;
import java.util.Map;

import com.tianxiao.test.model.ConflictCheck;
import com.tianxiao.test.result.ConflictResult;

/**
 * @author leiruiqi
 *
 */
public interface ConflictCheckService {

	public ConflictResult<List<ConflictCheck>> check(ConflictCheck conflictCheck);
	
	public ConflictResult<List<ConflictCheck>> save(ConflictCheck conflictCheck);
	
	/**
	 * 查询范围内所有满足条件的数据
	 * 不分组
	 * @param conflictCheck
	 * @return
	 */
	public ConflictResult<List<ConflictCheck>> queryByConditonRange(ConflictCheck conflictCheck);
	
	/**
	 * 查询范围内所有满足条件的数据
	 * 分组展示
	 * @param conflictCheck
	 * @return
	 */
	public ConflictResult<Map<String,List<ConflictCheck>>> queryForGroupByConditonRange(ConflictCheck conflictCheck);
	
	
	
}
